package com.graduation.project.service.grade;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.project.entity.dto.grade.GetThesisGradeDTO;
import com.graduation.project.entity.dto.grade.SaveOrUpdateGradeDTO;
import com.graduation.project.entity.po.Grade;
import com.graduation.project.utils.ResultUtil;

public interface GradeService extends IService<Grade> {
    /**
     * 获取当前论文得分
     * @param input 获取论文成绩输入类
     * @return ResultUtil
     */
    ResultUtil<?> getThesisGrade(GetThesisGradeDTO input);

    /**
     * 评分
     * @param input 评分输入类
     * @return ResultUtil
     */
    ResultUtil<?> gradeThesis(SaveOrUpdateGradeDTO input);

    /**
     * 获取用户课题成绩信息
     * @return ResultUtil
     */
    ResultUtil<?> getUserTaskScore();
}
